import PATH_MAP from "@/config/pathConstance";
/**
 * icon:菜单项图标
 * roles:标明当前菜单项在何种角色下可以显示，如果不写此选项，表示该菜单项完全公开，在任何角色下都显示
 */
const menuList = [
  {
    title: "主页",
    path: PATH_MAP.DASHBORD,
    icon: "HomeOutlined",
    // roles:["admin","editor","guest"]
  },

  {
    title: "用户管理",
    path: PATH_MAP.USERS,
    icon: "TeamOutlined",
    // roles:["admin"]
  },
  {
    title: "会员管理",
    path: PATH_MAP.MEMBER,
    icon: "UserSwitchOutlined",
    // roles:["admin"]
  },
  {
    title: "视频管理",
    icon: "VideoCameraOutlined",
    path: PATH_MAP.VIDEO,
    // roles:["admin"]
    children: [
      {
        title: "视频列表",
        path: PATH_MAP.VIDEO_LIST,
      },
      {
        title: "视频分类",
        path: PATH_MAP.VIDEO_CATEGORY,
      },
      {
        title: "视频标签",
        path: PATH_MAP.VIDEO_TAG,
      }
    ],
  },
  {
    title: "创作者申请管理",
    icon: "SolutionOutlined",
    path: PATH_MAP.APPLY
  },
  {
    title: "作品广场管理",
    icon: "BlockOutlined",
    path: PATH_MAP.SQUARE,
    children: [
      {
        title: "广场作品",
        path: PATH_MAP.SQUARE_WORKS,
      },
      {
        title: "广场列表",
        path: PATH_MAP.SQUARE_LIST,
      },
    ]
  },
  {
    title: "返佣设置",
    icon: "DollarOutlined",
    path: PATH_MAP.COMMISSION
  },
  {
    title: "个人中心",
    path: PATH_MAP.ABOUT,
    icon: "SettingOutlined",
    // roles:["admin","editor","guest"]
  },
];
export default menuList;
